﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Taobao.Tools2.Domain
{
    public class Shop : Taobao.Common.IShop,IEntity<short>
    {
        public short ID { get; set; }
        public string AppKey { get; set; }
        public string AppSecret { get; set; }
        public string Name { get; set; }
        public DateTime? LastUpdatedDate { get; set; }
        public byte? Show { get; set; }
        public string Status { get; set; }
        public string SessionKey { get; set; }

        // Schedule Update Detail
        public bool? IsUpdateDetailScheduled { get; set; }
        public DateTime? ScheduledUpdateTime { get; set; }
        public DateTime? LastUpdatedDetailTime { get; set; }
        public int? ScheduledUpdateCountEachDay { get; set; }
        public int? ScheduledUpdateCountToday { get; set; }

        // Increasement Setting
        public DateTime? LastUpdateTradesTimeByIncreasement { get; set; }
        public DateTime? LastUpdateRefundsTimeByIncreasement { get; set; }
        public int? BeforeMinutesOfUpdateByIncreament { get; set; }

        //public virtual Sender Sender { get; set; }
    }
}
